div.calendar
{
  font-size: smaller;
  color: #3e3e3e;
}

div.calendar.popup
{
  margin-left: -40px;
  margin-top: -50px;
  z-index: 9999;
}

div.calendar table
{
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  border-collapse: separate;
  border-spacing: 1px;
}

div.calendar thead {
  background-color: #fff;
}

div.calendar td,
div.calendar th
{
  padding: 2px;
  text-align: center;
}

div.calendar td.title
{
  font-weight: bold;
  color: #e8a800;
}

div.calendar th
{
  font-weight: bold;
}

div.calendar tr.days td {
  width: 2em;
  color: #3d60ba;
  text-align: right;
  cursor: pointer;
  border: 1px solid #e5e5e5;
}

div.calendar tr.days td:hover,
div.calendar td.button:hover
{
  border-color: #e8a800;
  background-color: #e5e5e5;
  cursor: pointer;
}
div.calendar tr.days td:hover
{
 background-color: #ffffff;
}

div.calendar tr.days td:active
div.calendar td.button:active
{
  background-color: #cde;
}

div.calendar tr.days td.selected
{
  font-weight: bold;
  background-color: #e8a800;
  border-color: #e8a800 !important;
  color: #fff !important;
}

div.calendar tr.days td.weekend {
	color: #7f9de8;
}

div.calendar tr.days td.today
{
  font-weight: bold;
  border-color: #3d60ba;
}

div.calendar tr.days td.otherDay
{
  background: #e5e5e5;
  color: #fff;
}
